package com.ushine.web.template.desensitization.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ushine.web.template.desensitization.mapper.FieldDesensitizationMapper;
import com.ushine.web.template.desensitization.model.FieldDesensitizationDO;
import com.ushine.web.template.desensitization.service.IFieldDesensitizationService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: yls
 * @Date 2022/2/11 10:55
 * @Description: 字段脱敏数据测试-实现层
 * @Version 1.0
 **/
@Service
public class FieldDesensitizationServiceImpl extends ServiceImpl<FieldDesensitizationMapper, FieldDesensitizationDO>
        implements IFieldDesensitizationService {

    @Override
    public Boolean insert(FieldDesensitizationDO filedDesensitization) {
        return save(filedDesensitization);
    }

    @Override
    public List<FieldDesensitizationDO> listFieldDesensitizations() {
        return list();
    }
}
